FROM java:8
VOLUME /tmp
ADD gds-eureka-1.0-SNAPSHOT.jar gds-eureka.jar
RUN sh -c 'touch /gds-eureka.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /gds-eureka.jar" ]